using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using Rsd.Faith.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    [Table("fiscal_票据信息_DT_表", "fiscal__piao_ju_xin_xi_dt__biao", "id")]
    [Serializable]
    public class FiscalPiaoJuXinXiDtBiaoModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 发票编号
        /// </summary>
        [TableIndex(TableIndexType.Unique, TableIndexUsing.BTree)]
        [StringType("fa_piao_bian_hao", "发票编号", 20, 20)]
        [DisplayName("发票编号")]
        public string FaPiaoBianHao { get; set; }
        /// <summary>
        /// 所属期
        /// </summary>
        [StringType("suo_shu_qi", "所属期", 21, 20)]
        [DisplayName("所属期")]
        public string SuoShuQi { get; set; }
        /// <summary>
        /// 小区编号
        /// </summary>
        [TableIndex(TableIndexType.Normal, TableIndexUsing.BTree)]
        [StringType("xiao_qu_bian_hao", "小区编号", 22, 50)]
        [DisplayName("小区编号")]
        public string XiaoQuBianHao { get; set; }

        /// <summary>
        /// 小区名称
        /// </summary>
        [StringType("xiao_qu_ming_cheng", "小区名称", 24, 200)]
        [DisplayName("小区名称")]
        public string XiaoQuMingCheng { get; set; }

        /// <summary>
        /// 楼栋号
        /// </summary>
        [StringType("lou_dong_hao", "楼栋号", 26, 200)]
        [DisplayName("楼栋号")]
        public string LouDongHao { get; set; }

        /// <summary>
        /// 房屋类型
        /// </summary>
        [StringType("fang_wu_lei_xing", "房屋类型", 28, 20)]
        [DisplayName("房屋类型")]
        public FangWuLeiXing FangWuLeiXing { get; set; }

        /// <summary>
        /// 房屋性质
        /// </summary>
        [StringType("fang_wu_xing_zhi", "房屋性质", 30, 20)]
        [DisplayName("房屋性质")]
        public FangWuXingZhi FangWuXingZhi { get; set; }

        /// <summary>
        /// 开发商代码
        /// </summary>
        [StringType("kai_fa_shang_dai_ma", "开发商代码", 32, 20)]
        [DisplayName("开发商代码")]
        public string KaiFaShangDaiMa { get; set; }

        /// <summary>
        /// 开发商名称
        /// </summary>
        [StringType("kai_fa_shang_ming_cheng", "开发商名称", 34, 120)]
        [DisplayName("开发商名称")]
        public string KaiFaShangMingCheng { get; set; }

        /// <summary>
        /// 收费标准
        /// </summary>
        [StringType("shou_fei_biao_zhun", "收费标准", 36, 20)]
        [DisplayName("收费标准")]
        public ShouFeiBiaoZhunDT ShouFeiBiaoZhun { get; set; }

        /// <summary>
        /// 开票项目
        /// </summary>
        [StringType("kai_piao_xiang_mu", "开票项目", 38, 120)]
        [DisplayName("开票项目")]
        public string KaiPiaoXiangMu { get; set; }

        /// <summary>
        /// 发票金额
        /// </summary>
        [NumericType("fa_piao_jin_e", "发票金额", 40, 20, 2)]
        [DisplayName("发票金额")]
        public decimal FaPiaoJinE { get; set; }

        /// <summary>
        /// 交纳日期
        /// </summary>
        [DateTimeType("jiao_na_ri_qi", "交纳日期", 42)]
        [DisplayName("交纳日期")]
        public DateTime JiaoNaRiQi { get; set; }

        /// <summary>
        /// 操作员号
        /// </summary>
        [StringType("cao_zuo_yuan_hao", "操作员号", 44, 250)]
        [DisplayName("操作员号")]
        public string CaoZuoYuanHao { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [StringType("zhuang_tai", "状态", 46, 10)]
        [DisplayName("状态")]
        public FaPiaoZhuangTai ZhuangTai { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public FiscalPiaoJuXinXiDtBiaoModel()
        { }

    }
}
